package com.jsbj.user.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jsbj.base.ResultBean;
import com.jsbj.user.entities.SysRoleTenant;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 角色-租户信息表 服务类
 * </p>
 *
 * @author jsbj
 * @since 2022-03-07
 */
public interface ISysRoleTenantService extends IService<SysRoleTenant> {

    Integer add(String inParam);

    void inSertData(String tenantCode, String id, String userId);

    List<Map<String, Object>> getTenantAndMenuByRoleId(String roleId);

    ResultBean<JSONObject> saveOrUpdateData(String inParam);

    ResultBean<JSONObject> deleteData(String inParam);

    List<String> getDetail(String inParam);
}
